package com.dy.队列;

public interface IQueue {
    public void clear();//清空队列
    public boolean isEmpty();
    public int length();
    public Object peek();
    public void offer(Object x) throws Exception;//入队
    public Object poll(); //出队
}
